<!DOCTYPE html>
<html>
	<head>
	    <meta charset="utf-8" />
		<title>分销助手</title>
		<meta name="format-detection" content="telephone=no">
		<meta name="msapplication-tap-highlight" content="no">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
		<link href="agency/assets/fontAwesome/css/font-awesome.min.css" rel="stylesheet">
		<link href="agency/assets/css/common.css" rel="stylesheet">
		<link href="agency/assets/css/agency.css" rel="stylesheet">
		<link href="agency/assets/css/animate.css" rel="stylesheet">
		<link href="agency/assets/LCalendar/css/LCalendar.css" rel="stylesheet" type="text/css" />
		<link href="agency/assets/css/sign.css" rel="stylesheet">
		<link href="agency/assets/css/main.css" rel="stylesheet">
		<link href="agency/assets/css/login.css" rel="stylesheet">
		<script type="text/javascript" src="agency/assets/js/jquery.min.js"></script>
		<script type="text/javascript" src="agency/assets/js/layer/layer.js"></script>
		<script type="text/javascript" src="agency/assets/LCalendar/js/LCalendar.js" ></script>
		<link rel="stylesheet" href="agency/assets/css/mint.css">
		<link rel="stylesheet" href="agency/assets/css/swiper.min.css">
	</head>
	<body>
	<div id="app">
    	  <router-view></router-view>
    </div>
    <script>
    // 扩展API加载完毕后调用onPlusReady回调函数
	document.addEventListener( "plusready", onPlusReady, false );
	// 扩展API加载完毕，现在可以正常调用扩展API
	function onPlusReady() {
	    screen.height = plus.screen.resolutionHeight;
	    screen.width = plus.screen.resolutionWidth;
	    var e = document.getElementById("scan");
//	    e.removeAttribute( "disabled" );
		var webview = plus.webview.currentWebview();
     /*   // 注册返回按键事件
        plus.key.addEventListener('backbutton', function() {
            webview.canBack(function(e){
            	if(scan){
            		scan.close();
            	}
                if(e.canBack){
                    webview.back();
                }else{
                    plus.nativeUI.confirm( "确认退出?", function(e){
                        plus.runtime.quit();
                    });
                }
            })

        }, false);*/
	}
	var scan = null;
	var screen = {};
    document.write("<script src='build.js?v='"+Math.random()+"><\/script>");
    </script>
	</body>
</html>
